home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / logbatch / batman.exe / BATCHM.DOC < prev    next >
Text File  |  1993-06-14  |  8KB  |  204 lines

  1.   ******************* (c) Copyright 1992 by NORDAT GmbH **********************
  2.                                                ┌────────┐
  3. BATCHM.EXE                                     │     ▀ ▀ ▀ ▀ ▀ ▀ ▀ ▀
  4.                                                │        │
  5. NORDAT BATCH MACHINE V2.0                      │        │
  6.                                                └────────┘
  7.    Nordat GmbH                                 N O R D A T
  8.    Oststr.  11
  9. D-2000 Norderstedt
  10. Phone  49-40-526834-0
  11. Fax    49-40-526834-22
  12.  
  13.  
  14.       THIS PRODUCT IS NOT FREE. IT IS OFFERED ON A SHAREWARE BASIS.
  15.       IF YOU WANT TO USE IT AFTER EVALUATION, YOU MUST REGISTER IT.
  16.  
  17.  
  18. REVISION HISTORY
  19.  
  20. 02 Nov 1992 16:00:00  Dietmar Schlötel  wrote and released 1.00 REV 00.
  21. 20 Nov 1992 10:00:00  Dietmar Schlötel  wrote and released 1.10 REV 00.
  22.    Use different keyboard push routines, defined in .INI file
  23. 26 Nov 1992 16:55:00  Dietmar Schlötel  wrote and released 1.20 REV 00.
  24.    Make delay cycle variable, defined by .INI file
  25.    Make Netware public path variable
  26. 14 Jun 1993 11:00:00  Jochen Reski      wrote and released 2.00 REV 00.
  27.  
  28.  
  29.  
  30.      Description
  31.  
  32.      The NORDAT Batch Machine is designed for Users, especially programmers,
  33.      who work on a NOVELL network and often have to work off batches, i.g.
  34.      compiling of several modules. If you do this without a Task Switching
  35.      System (Windows or Desqview), which will by the way lower your performance,
  36.      your workstation is blocked as long as your batch is served.
  37.      Why not let a specific batch machine do this job ?
  38.      This can be a powerful station with huge memory, fast processor etc.
  39.      and your workstation has not necessarily to be so powerful ( Does editing
  40.      really need a 486-66 ? :-) .
  41.  
  42.      Programmers who come from the mainframe world will be smiling now,
  43.      cause they know the concepts !
  44.  
  45.      The Batch machine works in a network on a separate dedicated Batch server.
  46.      The concept is: The Batch machine has a directory within the network,
  47.      where it looks for orders.
  48.      The orders are created with the Batch-Job submit program (BATCHS.EXE).
  49.      In this program you can also view the existing orders.
  50.      All orders are completely coded!
  51.  
  52.      An order consists of several informations:
  53.      1. the userid, who places the order
  54.      2. the userid, under which this order will be processed
  55.      3. the users password, under which this order will be processed
  56.      4. the service which is to be done; this must be any batch file
  57.      5. the name of a logfile, where the batch processing will be logged
  58.      6. the priority-level. From 00 to 99. To decide which order should
  59.         run first, and second and so on.
  60.      7. the runtime date, to control at which date the order should run.
  61.      8. the runtime, to control at which time the order should run.
  62.  
  63.      The batch machine has its own userid for looking for orders.
  64.      After finding an order, it changes its user id, and so its rights and
  65.      equals to the desired user id. The batch machine serves the order and
  66.      saves the output to a log file. After processing a "done" message
  67.      will be returned to the user, who desired the processing.
  68.  
  69.      The user must assure, that all pathes and environment variables are
  70.      correctly set, which are used. It can be guaranteed by doing this
  71.      in the login script. An alternative is to include it in the batch file
  72.      which is to process.
  73.  
  74.  
  75.      Requirements:
  76.  
  77.      This program is tested with DOS 5.0, 4DOS 4.0 and Netware 3.11 .
  78.      But it will surely work with other DOS- or Netware- Versions.
  79.  
  80.      Future enhancements:
  81.  
  82.      This version finds it's orders in the order of DOS-FINDFIRST-cmd.
  83.      The found order is processed in the same moment it is found.
  84.      It is planned to support timed orders and to supply a Batch Submit
  85.      Program, which will make it even more easier to place an order.
  86.      The submit program is necessary for encrypting the passwords in
  87.      the order for security causes. Furthermore this program will support
  88.      order processing with FIFO (first in - first out) method.
  89.  
  90.  
  91.      Files:
  92.      BATCHS.EXE The Batch-Job create and submit program
  93.      BATCHM.EXE The Batch Machine
  94.      BATCHP.EXE The Batch Machine's Keyboard Push Routine
  95.      BATCHM.INI It's init script
  96.      BATCHM.ORX A sample script for an order
  97.      BATCHM.DOC This document
  98.      BATCHM.DOK This document in German
  99.      BATCHM.REG Registration
  100.      BATCHM.BBS BBS short description
  101.      BATCHM.CIS CIS short description
  102.      BATCHM.MBX MBX short description german
  103.  
  104. /*-------------------------------------------------------------------*/
  105. /*   Sample Init Script:                                             */
  106. /*-------------------------------------------------------------------*/
  107.  
  108. ; Do not change these Entries, they are system intern
  109.  
  110. [NCAPS Generics]
  111. CapsSys      = f:\batch\ncaps.sys
  112. FileLockWait = 100
  113. Windows      = No
  114.  
  115. ;  Batch Machine program's init script section follows :
  116.  
  117. [Batch Machine]
  118. ;
  119. ; Username of Batch Machine
  120. User        = batch
  121. ;
  122. ; Path where Orders are expected
  123. FilePath    = f:\batch
  124. ;
  125. ; DOS File Extention for orderfiles.
  126. FileExt     = ord
  127. ;
  128. ; Switch if a Send "Processing done" is requirede
  129. Reply       = On
  130. ;
  131. ; Set Cycle for waiting after no order is found !
  132. Cycle       = 10
  133. ;
  134. ; Set the Command line for keyboard push program.
  135. ; The method of key pushing is necessary to pass the password
  136. ; to network login process.
  137. ; The following line is designed for using 4DOS (with "kstack" loaded).
  138. ;Push        = "keystack \"%s\" 13 \0xd"
  139. ; There are several other utilities pushing key sequences into the keyboard
  140. ; buffer. Place your favorite key pushing command here and
  141. ; apply it's syntax.
  142. ; For your convenience we supply the Batch Machine with BATCHP.EXE
  143. Push        = "BATCHP %s\0xd"
  144. ; Note: This string must be put in quotes !!! The internal quotes (if needed by
  145. ;       your key pusher ) have to be escaped by a backslash !!!!
  146. ;       Close the string with \0xd !!
  147. ;
  148. ; Set the Path to Netware Public Programs (as SEND, LOGOUT etc.)
  149. Public      = F:\public
  150. ;
  151. ;
  152. <End of File>
  153.  
  154. /*-------------------------------------------------------------------*/
  155. /*  Sample Order File                                                */
  156. /*-------------------------------------------------------------------*/
  157.  
  158. ; Adress the Batch Machine
  159. [Batch Machine]
  160. ; User which placed the order and expects a reply
  161. SourceUser  = ds
  162. ; User Id, which shall process the Batch file
  163. WorkUser    = Compiler
  164. ; Password of work user
  165. Password    = kuckuck
  166. ; Batch file (.bat) which shall be processed
  167. BatchName   = f:\ds\compall
  168. ; File where the log shall be produced ( by DOS Piping)
  169. LogFile     = f:\ds\compall.log
  170. ; Priority level from 00 to 99.
  171. Priority    = 99
  172. ; Runtime date. At which date should the order run (blank = today)
  173. Date        = 24.12.1993
  174. ; Runtime. At which time should the order run (blank = now)
  175. Time        = 17.10
  176. ;
  177. <End of File>
  178.  
  179. /*-------------------------------------------------------------------*/
  180. /*  Installation Hints                                               */
  181. /*-------------------------------------------------------------------*/
  182.  
  183.  
  184. 1.      Create a Netware User for Batch Machine ( i.g. BATCH)
  185.         Give User a Home Directory , which can serve as order directory
  186.  
  187. 2.      Grant Rights in Batch Home Directory to every group (or user),
  188.         which can use the Batch machine.  (i.g. group EVERYONE)
  189.  
  190. 3.      Place BATCHM.EXE and BATCHM.INI in the Netware Public directory
  191.         or in another directory the BATCH user has access to (i.g.BATCH)
  192.  
  193. 4.      BATCHM.INI must be modified with an normal ASCII-Editor.
  194.  
  195. 5.      Login a workstation as user BATCH and start BATCHM.
  196.         ( This can be done automatically in your autoexec.bat )
  197.  
  198. 6.      Place BATCHS.EXE in the same directory like BATCHM.EXE
  199.         Now you can create, modify and show Batchorders.
  200.         You can start BATCHS.EXE with an filename as parameter
  201.         (Sample Order: BATCHS BATCHM.ORX)
  202.  
  203. 7.      Remember to register after evaluation !
  204.